package cn.yza.Kotlin.test

/**
@author Honglixi
@create 2022-06-02 15:57
 */
interface Focusable {
    fun setFocus(b: Boolean) = println("I ${if (b) "got" else "lost"} focus.")
    fun showOff() = println("I`m focusable")
}
open class Talk: Focusable {
    private fun yell() = println("Hey!")
    protected fun whisper() = println("Let's talk")
}
internal fun Talk.giveSpeech() {

}